package com.augurit.gzcgwsp.ywcmn.service;

import java.util.Map;

import com.augurit.common.base.service.ICrudService;
import com.augurit.gzcgwsp.ywcmn.entity.YwComQyxx;
import com.augurit.gzcgwsp.ywcmn.web.form.YwComQyxxForm;

public interface IYwComQyxxService extends ICrudService<YwComQyxxForm, Long> {
    public YwComQyxxForm getFormBySqdw(String sqdw,String tempcode);
    public YwComQyxxForm getFormBySqdw(String sqdw);
    public void update(YwComQyxxForm form);
    public void updateYwComQyxx(YwComQyxxForm form);

    /**
     * 查询中间企业信息
     * @param qyid
     * @param acceptNo
     * @return
     */
    public YwComQyxx getYwComQyxx(Long qyid, String acceptNo);

    public void saveEntity(YwComQyxx entity);

    /**
     * 查询出所有的企业信息
     * @return
     */
	public Map<Long, String> getQyxx(String templateCode);

	public Long saveEnterpriseInfo(YwComQyxxForm form);

	/**
	 * 查询企业
	 * @param qyname 企业名称
	 * @param tempcode 业务编码
	 * @return
	 */
	public YwComQyxx getEntity(String qyname, String tempcode);
	
	public Long saveQyxx(YwComQyxx qyxx);
    
}